package com.yazi.mxz.gather.service.impl;


import javax.annotation.Resource;

import com.myframework.smhj.hibernate.Page;
import com.myframework.smhj.hibernate.Searching;
import com.myframework.smhj.hibernate.dao.BasicService;
import com.myframework.smhj.hibernate.dao.Dao;
import com.yazi.mxz.gather.dao.RegionDao;
import com.yazi.mxz.gather.entity.beans.Region;
import com.yazi.mxz.gather.service.RegionService;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;


@Service("regionService")
public class RegionServiceImpl extends BasicService<Region> implements RegionService {
	private static Logger log = LoggerFactory.getLogger(RegionServiceImpl.class);
	
	@Resource
	RegionDao regionDao;

	@Override
	protected Dao<Region> getDao() {
		return regionDao;
	}
	
	@Override
	public Page<Region> listGtUpdateTime(long updateTime, Searching si) {
		log.debug("listGtUpdateTime：updateTime={},nowPage={}", updateTime, si.getNowPage());
		return regionDao.listGtUpdateTime(updateTime, si);
	}

	
}
